const plugins = [];
if (process.env.NODE_ENV === 'production') {
  // 生产环境去掉打印
  plugins.push('transform-remove-console');
}

module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset',
    '@babel/preset-env'
  ],
  plugins
};
